Turns the camera left by that many degrees (negative turns right).
Game Boy: not available
Game Boy Color: not available
On other consoles this differs: see Side by side and How the consoles differ.
view3d_turn(degrees)| Name | Type |
|---|---|
degrees | real |
Nothing.
Turns the camera left by degrees (a negative number turns right). It is counter-clockwise like every angle in this manual.
Call it once a frame with the turning speed you want, in degrees per frame. 3 is a comfortable turn.
if (action_held(left)) { view3d_turn(3); }
if (action_held(right)) { view3d_turn(-3); }Left turns the view to the left, right turns it to the right.
Counter-clockwise like every angle: a positive number turns to the left. Call it once a frame with the turning speed you want.